// // import { StrictMode } from 'react'
// import { createRoot } from 'react-dom/client'
// import App from './App.tsx'
// import './index.css'
// import { Provider } from 'react-redux'
// import store from "./store/index.ts";
// createRoot(document.getElementById('root')!).render(
//   // <StrictMode>
//   <Provider store={store}>
//     <App />
//   </Provider>
//   // </StrictMode>,
// )


// import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.tsx'
import './index.css'
import { Provider } from 'react-redux'
import store, { persistor } from "./store/index.ts";
import { PersistGate } from 'redux-persist/integration/react';
createRoot(document.getElementById('root')!).render(
  // <StrictMode>
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <App />
    </PersistGate>
  </Provider>
  // </StrictMode>,
)

